package cn.gov.msa.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import cn.gov.msa.model.Org;
import net.sf.json.JSONObject;

@Service
public interface OrgService {

	public List<Org> selectOrg(Org org);
	List<Org> queryNextOrg(Org org);
	/**
	 * 根据companyid统计出常用的机构
	 * @param companyId
	 * @return
	 */
	List<Org> selectFrequentlyOrg(String companyId);
	JSONObject getOrg(String orgCode);
	Org selectBy4aOrgCode(String orgCode4A);
	List<Map<String, Object>> selectAllOrg(Org org);
}
